 package com.xiaochong.tir.common.data.po;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 此类为[基础代码]自动生成
 * @author cx
 * @time 2018-06-26 15:54
 * 
 */
public class KLineBroaderIndex {

    /** id */
    private Integer id;

    /** 开盘价 */
    private String openPrice;

    /** 最高价 */
    private String highestPrice;

    /** 最低价 */
    private String lowestPrice;

    /** 收盘价 */
    private String closePrice;

    /** date */
    private String date;

    /** create_time */
    private Date createTime;

    /** last_update_time */
    private Date lastUpdateTime;



 /**
     * 获取 id 的值
     * @return Integer
     */
    public Integer getId() {
        return id;
    }
    
    /**
     * 设置id 的值
     * @param Integer id
     */
    public KLineBroaderIndex setId(Integer id) {
        this.id = id;
        return this;
    }
 /**
     * 获取 开盘价 的值
     * @return String
     */
    public String getOpenPrice() {
        return openPrice;
    }
    
    /**
     * 设置开盘价 的值
     * @param String openPrice
     */
    public KLineBroaderIndex setOpenPrice(String openPrice) {
        this.openPrice = openPrice;
        return this;
    }
 /**
     * 获取 最高价 的值
     * @return String
     */
    public String getHighestPrice() {
        return highestPrice;
    }
    
    /**
     * 设置最高价 的值
     * @param String highestPrice
     */
    public KLineBroaderIndex setHighestPrice(String highestPrice) {
        this.highestPrice = highestPrice;
        return this;
    }
 /**
     * 获取 最低价 的值
     * @return String
     */
    public String getLowestPrice() {
        return lowestPrice;
    }
    
    /**
     * 设置最低价 的值
     * @param String lowestPrice
     */
    public KLineBroaderIndex setLowestPrice(String lowestPrice) {
        this.lowestPrice = lowestPrice;
        return this;
    }
 /**
     * 获取 收盘价 的值
     * @return String
     */
    public String getClosePrice() {
        return closePrice;
    }
    
    /**
     * 设置收盘价 的值
     * @param String closePrice
     */
    public KLineBroaderIndex setClosePrice(String closePrice) {
        this.closePrice = closePrice;
        return this;
    }
 /**
     * 获取 date 的值
     * @return String
     */
    public String getDate() {
        return date;
    }
    
    /**
     * 设置date 的值
     * @param String date
     */
    public KLineBroaderIndex setDate(String date) {
        this.date = date;
        return this;
    }
 /**
     * 获取 create_time 的值
     * @return Date
     */
    public Date getCreateTime() {
        return createTime;
    }
    
    /**
     * 设置create_time 的值
     * @param Date createTime
     */
    public KLineBroaderIndex setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }
 /**
     * 获取 last_update_time 的值
     * @return Date
     */
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }
    
    /**
     * 设置last_update_time 的值
     * @param Date lastUpdateTime
     */
    public KLineBroaderIndex setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"id\":")
                .append(id);
        sb.append(",\"openPrice\":\"")
                .append(openPrice).append('\"');
        sb.append(",\"highestPrice\":\"")
                .append(highestPrice).append('\"');
        sb.append(",\"lowestPrice\":\"")
                .append(lowestPrice).append('\"');
        sb.append(",\"closePrice\":\"")
                .append(closePrice).append('\"');
        sb.append(",\"date\":\"")
                .append(date).append('\"');
        sb.append(",\"createTime\":\"")
                .append(createTime).append('\"');
        sb.append(",\"lastUpdateTime\":\"")
                .append(lastUpdateTime).append('\"');
        sb.append('}');
        return sb.toString();
    }
}